﻿using MediatR;
using S.Common.ApiResult;
using S.PurchaseAndSales.Domain.Model;

namespace S.PurchaseAndSales.Read.Api.Application.Command.SheepSaleCommand
{
    public class GetSheepListCommand : IRequest<ApiResult<List<SheepSaleModel>>>
    {

        /// <summary>
        /// 开始时间
        /// </summary>
        public string? StateDate { get; set; }

        /// <summary>
        /// 结束时间
        /// </summary>
        public string? EndDate { get; set; }

        /// <summary>
        /// 耳号
        /// </summary>
        public string? EarTag { get; set; }
        /// <summary>
        /// 客户名称
        /// </summary>
        public int CustomId { get; set; }
        /// <summary>
        /// 单据号
        /// </summary>
        public string? DocNum { get; set; }
        /// <summary>
        /// 部门Id
        /// </summary>
        public int DocId { get; set; }
        /// <summary>
        /// 收货地址
        /// </summary>
        public string? Address { get; set; }
        /// <summary>
        /// 销售Id
        /// </summary>
        public int SaleId { get; set; }
        /// <summary>
        /// 审核状态
        /// </summary>
        public int State { get; set; } 
        /// <summary>
        /// 页索引
        /// </summary>
        public int PageIndex { get; set; }

        /// <summary>
        /// 页大小
        /// </summary>
        public int PageSize { get; set; }

    }
}
